package cn.com.yiqi.wsc.entity.org;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 何刚
 * @ClassName: ${class}
 * @Description: TODO
 * @date 2017/2/24
 */
public class OrgEntity {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * pid
     */
    private Integer pid;

    /**
     * 上级商家名称
     */
    private String parentName;

    /**
     * 机构编码
     */
    private String code;

    /**
     * 机构名称
     */
    private String name;

    /**
     * logo
     */
    private String logoUrl;

    /**
     * 机构描述
     */
    private String desc;

    /**
     * 层级
     */
    private Integer level;

    /**
     * 层级码
     */
    private String seq;

    /**
     * 省市区
     */
    private String city;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 邮编
     */
    private String zipCode;

    /**
     * 传真号码
     */
    private String fax;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 状态 -1审核不通过 0待审核 1审核通过
     */
    private Integer status;

    /**
     * 是否叶子
     */
    private Integer isLeaf;

    /**
     * 机构性质 1企业 2事业单位 3国家行政机关 4政府
     */
    private Integer character;

    /**
     * 积分比例
     */
    private BigDecimal pointProportion;

    /**
     * 创建时间
     */
    private Date establishTime;

    /**
     * 新增时间
     */
    private Date insertTime;

    /**
     * 新增用户id
     */
    private Integer insertUserId;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 修改用户id
     */
    private Integer updateUserId;

    /**
     * 联系人名称
     */
    private String linkName;

    /**
     * 联系人电话
     */
    private String linkTel;

    /**
     * 是否删除 0.未删除1.删除
     */
    private Integer delete;

    /**
     * 是否启用 0禁用 1启用
     */
    private Integer enable;


    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public BigDecimal getPointProportion() {
        return pointProportion;
    }

    public void setPointProportion(BigDecimal pointProportion) {
        this.pointProportion = pointProportion;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }

    public Integer getId() {
        return id;
    }

    public String getLinkName() {
        return linkName;
    }

    public void setLinkName(String linkName) {
        this.linkName = linkName;
    }

    public String getLinkTel() {
        return linkTel;
    }

    public void setLinkTel(String linkTel) {
        this.linkTel = linkTel;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getSeq() {
        return seq;
    }

    public void setSeq(String seq) {
        this.seq = seq;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(Integer isLeaf) {
        this.isLeaf = isLeaf;
    }

    public Integer getCharacter() {
        return character;
    }

    public void setCharacter(Integer character) {
        this.character = character;
    }

    public Date getEstablishTime() {
        return establishTime;
    }

    public void setEstablishTime(Date establishTime) {
        this.establishTime = establishTime;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Integer getInsertUserId() {
        return insertUserId;
    }

    public void setInsertUserId(Integer insertUserId) {
        this.insertUserId = insertUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }
}
